package com.zx.zxblog.entity.query;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * className=BaseQuery
 * package=com.zx.zxblog.entity.query
 * description:
 *
 * @Author:SKEZhi
 * @Create:2024/4/17 - 15:40
 * @Version: v1.0
 */
@Data
public class BaseQuery implements java.io.Serializable {

    /**
     * 当前页数
     */
    private Integer pageNum;
    /**
     * 每页显示条数
     */
    private Integer pageSize;

    /**
     * 创建开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTimeStart;
    /**
     * 创建结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTimeEnd;


}
